package com.example.service;

import com.example.pojo.Cart;
import com.example.pojo.Order;
import com.example.pojo.OrderItem;

import java.util.List;

public interface OrderService {

    public String createOrder(Cart cart, Integer userId);

    public List<Order> showAllOrders();

    public List<Order> showMyOrders(Integer userId);

    public void sendOrder(String orderId);

    public List<OrderItem> showOrderDetail(String orderId);

}
